how to make a sketchpad in python